<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="test1" method="post">
用户名:<input type="text" name="username" /><br />
密码:<input type="password" name="password" /><br />
爱好:
<input type="checkbox" name="like" value="打球"/>打球
<input type="checkbox" name="like" value="听音乐" />听音乐
<input type="checkbox" name="like" value=""/>
<input type="submit" value="登录" />
</form>

</body>
</html>